fix(rpc): align eth_getBlockReceipts response with execution-apis spec#965
fix(rpc): align eth_getBlockReceipts response with execution-apis spec#965XinyuCRO wants to merge 4 commits into
eth_getBlockReceipts response with execution-apis spec#965Conversation
Signed-off-by: Xinyu <91446598+XinyuCRO@users.noreply.github.com>
|
@claude review PR |
|
Claude finished @XinyuCRO's task in 3m 24s —— View job PR Review:
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #965 +/- ##
===========================================
+ Coverage 44.69% 44.73% +0.04%
===========================================
Files 197 197
Lines 16930 16946 +16
===========================================
+ Hits 7567 7581 +14
Misses 8555 8555
- Partials 808 810 +2
🚀 New features to boost your workflow:
|
Signed-off-by: Xinyu <91446598+XinyuCRO@users.noreply.github.com>
eth_getBlockReceipts response with execution-apis s…eth_getBlockReceipts response with execution-apis spec
| b.logger.Error("fetch basefee failed, node is pruned?", "height", res.Height, "error", err) | ||
| } else { | ||
| receipt["effectiveGasPrice"] = hexutil.Big(*ethMsg.GetEffectiveGasPrice(baseFee)) | ||
| baseFee = nil |
There was a problem hiding this comment.
When BaseFee() returns nil for a fee-market tx (whether due to pruning or fee market being disabled), the receipt should not contain effectiveGasPrice
|
LGTM, need to fix |
No description provided.